<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>主页面</title>
    <script type="text/javascript" src="js/jquery.js"></script>
</head>
<body>
测试
<div id="teshi">
<input id="show" type="text">
</div>
</body>
    <script>


        window.onload = function () {
            $.post("common/getLoginUser",{},function (res) {

                $("#show").val(res)

            });
        }
    </script>


</html>